package com.qf.smartdevice.exception;

/**
 * @author 王博康
 * @version 1.0
 * @project devicemanagementsystem
 * @description: TODO
 * @date 2022/3/14 23:17 星期一
 */
public class MyBaseException extends RuntimeException {
    private int code;

    public MyBaseException(String msg,int code){
        super(msg);
        this.code=code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
